<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
    <style>
        body,html{
            height:100%;
        }
        body{
            display: flex;
            flex-direction: column;
        }
        header{
            width:100%;
            height:100px;
            background: red;
        }
        section{
            flex-grow:1;
            /* flex:1; */
            /* 放大缩小到和body */
            background: pink;
            display: flex;
        }
        footer{
            width:100%;
            height:100px;
            background: yellow;
        }
        aside{
            width:200px;
            background: #ccc;
        }
        main{
            flex-grow:1;
            background: green;
        }
        article{
            width:200px;
            background: #ccc;
        }
    </style>
</head>
<body>
    <header></header>
    <section>
        <aside></aside>
        <main></main>
        <article></article>
    </section>
    <footer></footer>
</body>
</html>